﻿using System;
using System.Windows;

namespace Bookvar.UI.DragDrop.Actions
{
    public class TopicMoveDragAction : DragActionBase
    {
        public override void Execute( UIElement draggedElement, DataObject data )
        {
            TopicContentPresenter presenter = draggedElement as TopicContentPresenter;
            if (presenter != null)
            {
                presenter.Owner.InvalidateTopics();
            }
        }
    }
}
